package edu.lingnan.reactproject.vo;

import edu.lingnan.reactproject.pojo.RoleMenus;
import edu.lingnan.reactproject.pojo.Roles;
import edu.lingnan.reactproject.pojo.Users;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetUserListResult {
    private List<Users> users;
    private List<RolesAndMenu> roles;

    public GetUserListResult(List<Users> users) {
        this.users = users;
    }
}
